home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 5 / Gold Medal Software - Volume 5 (Gold Medal) (1995).iso / accounts / morcomp.arj / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-09-25  |  7KB  |  144 lines

  1. echo off
  2. if "%1"=="" goto nodir
  3. if not exist %1\nul md %1
  4. if not exist %1\nul goto dir_error
  5. cls
  6. echo.
  7. echo.  ███████████████████████████████████████████████████████████████░
  8. echo.  █                                                             █░░
  9. echo.  █     Mortgage Comp requires that the CONFIG.SYS file have    █░░
  10. echo.  █     a files statement like "FILES=31". 31 Is the minimum    █░░
  11. echo.  █     number. If you are using windows or a newtork, it       █░░
  12. echo.  █     should be much larger, say 91. Be sure it is an odd     █░░
  13. echo.  █     number. You may use the DOS EDIT program to modify      █░░
  14. echo.  █     this file. See your DOS manual for more details.        █░░
  15. echo.  █                                                             █░░
  16. echo.  █                                                             █░░
  17. echo.   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  18. echo.
  19. pause
  20. if not exist %1\nul md %1
  21. if not exist %1\nul goto dir_error
  22. cls
  23. echo -
  24. echo -  ┌─────────────────────────────────────────────────────────────┐
  25. echo -  │                                                             │
  26. echo -  │                                                             │
  27. echo -  │         Copying the MORTGAGE COMPARISON SYSTEM              │
  28. echo -  │                                                             │
  29. echo -  │                                                             │
  30. echo -  └─────────────────────────────────────────────────────────────┘
  31. echo -
  32. PKUNZIP MORTCOMP %1
  33. cls
  34. echo -
  35. echo -
  36. echo -  ┌─────────────────────────────────────────────────────────────┐
  37. echo -  │                                                             │
  38. echo -  │                                                             │
  39. echo -  │         Verifying the files!                                │
  40. echo -  │                                                             │
  41. echo -  │                                                             │
  42. echo -  └─────────────────────────────────────────────────────────────┘
  43. echo -
  44. echo -
  45.  
  46. if not exist %1\MCHELP.DBF   goto fail1
  47. if not exist %1\MCHELP.DBT   goto fail1
  48. if not exist %1\MCMENU.EXE   goto fail1
  49. if not exist %1\MCPARM.DBF   goto fail1
  50. if not exist %1\MCPARM.FD    goto fail1
  51. if not exist %1\SCHEDULE.BLK goto fail1
  52. pause
  53. cls
  54. echo -
  55. echo -
  56. echo -   ┌────────────────────────────────────────────────────────────────────────┐
  57. echo -   │                                                                        │
  58. echo -   │     The MORTGAGE COMPARISON SYSTEM is now installed ...                │
  59. echo -   │                                                                        │
  60. echo -   │     To Start the program, log on to the hard disk subdirectory         │
  61. echo -   │     you specified ant type the command:                                │
  62. echo -   │                                                                        │
  63. echo -   │     MCMENU (enter)                                                     │
  64. echo -   │                                                                        │
  65. echo -   │                                                                        │
  66. echo -   └────────────────────────────────────────────────────────────────────────┘
  67. echo -
  68. echo -   (Your directory was  %1 )
  69. goto end
  70. :dir_error
  71. echo -
  72. echo -
  73. echo -   ┌────────────────────────────────────────────────────────────────────────┐
  74. echo -   │                                                                        │
  75. echo -   │     The installation process failed!                                   │
  76. echo -   │                                                                        │
  77. echo -   │     The installation program cannot find or create the directory       │
  78. echo -   │     specified on the command line. The directory does not need to      │
  79. echo -   │     exist before running the program but the name of the directory     │
  80. echo -   │     MUST be a valid DOS pathname and the Drive letter MUST be a        │
  81. echo -   │     valid disk drive on your system. DO NOT INCLUDE THE FINAL "\"      │
  82. echo -   │                                                                        │
  83. echo -   │     If you are installing the system on a network drive, you must      │
  84. echo -   │     have the necessary rights and permissions for the network.         │
  85. echo -   │                                                                        │
  86. echo -   │                                                                        │
  87. echo -   └────────────────────────────────────────────────────────────────────────┘
  88. echo -
  89. echo -
  90. echo     Unable to find or create - %1
  91. echo -
  92. echo -
  93. pause
  94. :fail1
  95. cls
  96. echo -
  97. echo -
  98. echo -
  99. echo -   ┌────────────────────────────────────────────────────────────────────────┐
  100. echo -   │                                                                        │
  101. echo -   │     The installation process failed!                                   │
  102. echo -   │                                                                        │
  103. echo -   │                                                                        │
  104. echo -   └────────────────────────────────────────────────────────────────────────┘
  105. echo -
  106. pause
  107. goto end
  108. :nodir
  109. cls
  110. echo.
  111. echo.  ██████████████████ GENERIC INSTALL INSTRUCTIONS ███████████████░
  112. echo.  █                                                             █░░
  113. echo.  █    This is the generic install program. It requires         █░░
  114. echo.  █    the name of the disk and directory on the command        █░░
  115. echo.  █    line like this:                                          █░░
  116. echo.  █                                                             █░░
  117. echo.  █    At the A: prompt, type:                                  █░░
  118. echo.  █                                                             █░░
  119. echo.  █    INSTALL  D:\LOANS                                        █░░
  120. echo.  █                                                             █░░
  121. echo.  █    Where D: is the drive letter and \LOANS is the name      █░░
  122. echo.  █    of the directory in which you want the system installed. █░░
  123. echo.  █    If you are familiar with path names, do not type the     █░░
  124. echo.  █    final backslash "\".                                     █░░
  125. echo.  █                                                             █░░
  126. echo.  █    The drive and directory can be any valid DOS drive       █░░
  127. echo.  █    and path on your system. If the path does not exist      █░░
  128. echo.  █    it will be created. NOTE THAT THERE ARE NO SPACES        █░░
  129. echo.  █    between the drive letter and the path.                   █░░
  130. echo.  █                                                             █░░
  131. echo.   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  132. echo.
  133. pause
  134. CLS
  135. echo -
  136. echo -   ┌────────────────────────────────────────────────────────────────────────┐
  137. echo -   │                                                                        │
  138. echo -   │     Please try again...                                                │
  139. echo -   │                                                                        │
  140. echo -   │     INSTALL D:\PATHNAME                                                │
  141. echo -   └────────────────────────────────────────────────────────────────────────┘
  142. echo -
  143. :end
  144.